package com.diandiji.demo.service;

import com.diandiji.demo.entity.Note;

import java.util.Date;
import java.util.List;

public interface NoteService {

    List<Note> queryAllNote(int userID);

    List<Note> queryNoteByTagOrTitle(String tag, String title, int userID);

    List<Note> queryNoteByAreaID(int areaId,int userId );

    void addNote(Note note);

    void updateNote(Note note);

    Note getNoteById(int noteID);

    void deleteNote(int noteId);
}
